package com.taxi.driver.module.vo;

import com.alibaba.fastjson.JSON;
import com.taxi.driver.data.entity.DriverEntity;

/**
 * 规则说明
 */
public class RulesVO {

    public static MyWalletVO createFrom(DriverEntity entity) {
        if (entity == null) return new MyWalletVO();
        String strJson = JSON.toJSONString(entity);
        return JSON.parseObject(strJson, MyWalletVO.class);
    }

    public String title; //标题
    public String content;//内容
}
